@layout("/common/_container.html"){
<div class="ibox float-e-margins ">
    <div class="ibox-content" style="padding: 0;">
        <div style="display: none">
            <input type="hidden" id="menuName" value="TC-今日回访">
            <input type="hidden" id="isDone" value="待回访">
            <input type="hidden" id="reach" value="">
            <input type="hidden" id="fieldTcValues" value="${userName}">
        </div>
        <div class="numStatistics">
            <div style="display: none"></div>
            <div id="toTracking" onclick="ConsultantReserve.tracking()"><span>待回访</span>（<span style="color: #03feb7" id="tracking">0</span>）</div>
            <div onclick="ConsultantReserve.trackingCompletion()"><span>已回访</span>（<span style="color: #bc24c7" id="trackingCompletion">0</span>）</div>
            <div onclick="displayHiding('ConsultantReserveTable')" id="zoom">
                <img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/open.png" alt="">
                <img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/shrink.png" alt="" style="display: none">
                <span>条件展开</span>
            </div>
        </div>
        <div class="divFlex" style="display: none">
            <div class="flex_one">
                <div>消费状态</div>
                <div>跟踪状态</div>
                <div>TC</div>
                <div>开单状态</div>
                <div>看诊状态</div>
            </div>
            <div class="flex_two">
                <div>
                    <select  id="consumptionStatus" name="consumptionStatus" onchange="ConsultantReserve.search()">
                        <option value="">全部</option>
                        <option value="未消费">未消费</option>
                        <option value="只交储值">只交储值</option>
                        <option value="未完成">未完成</option>
                        <option value="完成">完成</option>
                    </select>
                </div>
                <div>
                    <select id="followStatus" name="followStatus" onchange="ConsultantReserve.search()">
                        <option value="">全部</option>
                        <option value="跟踪中">跟踪中</option>
                        <option value="跟踪完成">跟踪完成</option>
                        <option value="跟踪结束">跟踪结束</option>
                    </select>
                </div>
                <div>
                    <select id="fieldTc" name="fieldTc" onchange="ConsultantReserve.search()">
                        <option value="">--请选择现场TC--</option>
                        @for(str in tcList){
                        <option value="${str.tcName}">${str.tcName}</option>
                        @}
                    </select>
                </div>
                <div>
                    <select id="dealStatus" name="dealStatus" onchange="ConsultantReserve.search()">
                        <option value="">全部</option>
                        <option value="已结账">已结账</option>
                        <option value="未成交">未成交</option>
                    </select>
                </div>
                <div>
                    <select name="diagnosisStatus" id="diagnosisStatus" onchange="ConsultantReserve.search()">
                        <option value="">全部</option>
                        <option value="已看诊">已看诊</option>
                        <option value="未看诊">未看诊</option>
                    </select>
                </div>
            </div>
        </div>
        <div class="timeButton">
            <div class="timeBox">
                <div>
                    <span>回访时间</span>
                    <input type="text" autocomplete="off" id="startTime" onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm:ss',choose:checkDate})">
                    <span>-</span>
                    <input type="text" autocomplete="off" id="endTime" onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm:ss',choose:checkDate})">
                </div>
                <div>
                    <button type="button" class="btn" onclick="ConsultantReserve.today()">今日</button>
                    <button type="button" class="btn" onclick="ConsultantReserve.yesterday()">昨日</button>
                    <button type="button" class="btn" onclick="ConsultantReserve.thisWeek()">本周</button>
                </div>
            </div>
            <div class="buttonBox">
                <div>
                    <button type="button" class="btn" onclick="ConsultantReserve.resetSearch()"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/empty.png"><span>重置</span></button>
                    <button type="button" class="btn" onclick="screenTable()"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/screen.png"><span>显示列</span></button>
                    @if(shiro.hasPermission("/tcCenter/export")){
                    <button type="button" class="btn" onclick="$('#ConsultantReserveTable').tableExport({ type: 'excel', escape: 'false' })"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/export.png"><span>导出</span></button>
                    @}
                </div>
            </div>
        </div>
        <div class="tableBox">
            <#table id="ConsultantReserveTable"/>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/tcCenter/consultant/consultant_reserve.js?v=20200628"></script>
<script src="${ctxPath}/static/modular/tcCenter/consultant/doctorTcSearchContentOne.js?v=20200628"></script>
@}